package org.net.device.info;

import org.net.device.snmp.snmpaction;
import org.dolphin.base.data.dao.SimpleDAO;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import javax.sql.DataSource;
import java.sql.*;

public class planinfo implements snmpaction {
	private long id=-1;
	private String ip="";
	private String name;
	private long deviceid=-1;
	private int status;
	private long begintime;
	private int repeater;
	private int times;
	private String cname;
	private int mailalerted=0;
	private String tomail="@";


	public planinfo() {
		super();
	}
	





	public void getdatas() {
		// TODO Auto-generated method stub

	}

	public void savedatas() {
		// TODO Auto-generated method stub

	}

	public long getBegintime() {
		return begintime;
	}

	public void setBegintime(long begintime) {
		this.begintime = begintime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public int getRepeater() {
		return repeater;
	}

	public void setRepeater(int repeater) {
		this.repeater = repeater;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public long getDeviceid() {
		return deviceid;
	}

	public void setDeviceid(long deviceid) {
		this.deviceid = deviceid;
	}

	public int getTimes() {
		return times;
	}

	public void setTimes(int times) {
		this.times = times;
	}






	public String getCname() {
		return cname;
	}






	public void setCname(String cname) {
		this.cname = cname;
	}






	public String getIp() {
		return ip;
	}






	public void setIp(String ip) {
		this.ip = ip;
	}






	public int getMailalerted() {
		return mailalerted;
	}






	public void setMailalerted(int mailalerted) {
		this.mailalerted = mailalerted;
	}






	public String getTomail() {
		return tomail;
	}






	public void setTomail(String tomail) {
		this.tomail = tomail;
	}

}
